<template>
  <div class="help-center">
    <div class="help-center-content">
      <div class="menu">
        <div class="title" style="font-weight: bold;
      text-align: left;
      border-bottom: 1px solid #cccccc;
      padding-bottom: 10px;
      padding-left: 10px;
      padding-top: 10px;">帮助中心</div>
        <el-menu
          :default-active="this.activeIndex"
          class="el-menu-navigation"
          :router="true">
          <el-menu-item index="/other/privacyPolicy">
            隐私政策
          </el-menu-item>
          <el-menu-item index="/other/contact">
            联系我们
          </el-menu-item>
          <el-menu-item index="/other/introduce">
            公司概述
          </el-menu-item>
          <el-menu-item index="/other/consultation">
            问题咨询
          </el-menu-item>
        </el-menu>
      </div>
      <div class="content">
        <router-view/>
      </div>
    </div>
  </div>
</template>
<!--帮助中心-->
<script>
export default {
  name: 'HelpCenter',
  data () {
    return {
      activeIndex: '/other/privacyPolicy'
    }
  }
}
</script>

<style scoped lang="less">
.help-center{
  background-color: #f4f4f4;
  padding-bottom: 100px;
  .help-center-content{
    width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    .menu{
      width: 28%;
      box-sizing: border-box;
      background-color: #FFFFFF;
      border-radius: 5px;
      margin-top: 20px;
    }
    .content{
      width: 68%;
      height: 100%;
      box-sizing: border-box;
      background-color: #FFFFFF;
      margin-top: 20px;
    }
  }
}
</style>
